const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  siteTitle: state => state.app.siteTitle,
  topMenus: state => state.app.topMenus,
  topMenuEnabled: state => state.app.topMenus.length > 0,
  activeTopMenu: state => state.app.activeTopMenu,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  permission_routes: state => state.permission.routes,
  errorLogs: state => state.errorLog.logs,
  allowed_menus: state => state.user.menus,
  allowed_buttons: state => state.user.buttons,
  notifications: state => state.notice,
  themeList: state => state.settings.themeList,
  activeTheme: state => state.settings.activeTheme,
  orgs: state => state.user.orgs,
  stompConnected: state => state.app.stompConnected,
  modules: state => state.user.modules,
  autoRun: state => state.app.autoRun
}
export default getters
